package spynx.valueconverter;

import org.eclipse.xtext.common.services.DefaultTerminalConverters;
import org.eclipse.xtext.conversion.IValueConverter;
import org.eclipse.xtext.conversion.ValueConverter;

import com.google.inject.Inject;

public class DeslValueConverterService extends DefaultTerminalConverters {
	@Inject
	private VERBATIM_STRINGValueConverter verbatimStringValueConverter;
	
	@Inject
	private BOOLEAN_CONSTANTSValueConverter booleanConstantValueConverter;
	
	@ValueConverter(rule = "VERBATIM_STRING")
	public IValueConverter<String> VERBATIM_STRING() {
		return verbatimStringValueConverter;
	}
	
	@ValueConverter(rule = "BOOLEAN_CONSTANTS")
	public IValueConverter<Boolean> BOOLEAN_CONSTANTS() {
		return booleanConstantValueConverter;
	}
}
